package com.xjrsoft.module.workflow.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("xjr_nwf_delegaterule")
@ApiModel(value = "流程委托规则", description = "流程委托规则")
public class XjrNwfDelegateRule implements Serializable {

    @TableId("F_Id")
    private String id;

    @TableField("F_ToUserId")
    private String toUserId;

    @TableField("F_ToUserName")
    private String toUserName;

    @TableField("F_BeginDate")
    private LocalDateTime beginDate;

    @TableField("F_EndDate")
    private LocalDateTime endDate;

    @TableField(value = "F_CreateUserId", fill = FieldFill.INSERT)
    private String createUserId;

    @TableField(value = "F_CreateUserName", fill = FieldFill.INSERT)
    private String createUserName;

    @TableField(value = "F_CreateDate", fill = FieldFill.INSERT)
    private LocalDateTime createDate;

    @TableField(value = "F_EnabledMark", fill = FieldFill.INSERT)
    private Integer enabledMark;

    @TableField("F_Description")
    private String description;

    private static final long serialVersionUID = 1L;

}